﻿using System;

namespace Oxage.Windows.Controls
{
	public class CommandLineEventArgs : EventArgs
	{
		public string Line
		{
			get;
			set;
		}

		public string Command
		{
			get;
			set;
		}

		public Arguments Arguments
		{
			get;
			set;
		}

		public CommandLineEventArgs(string line)
		{
			this.Line = line;
			this.Command = Arguments.GetCommand(line);
			this.Arguments = new Arguments(line);
		}
	}
}
